<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第三轮测试</title>
    <link rel="icon" href="/images/touxiang.ico" type="image/x-icon">
    <link rel="stylesheet" href="style.css">
    <script src="jQuery.js"></script>
    <script src="formjson.js"></script>
    <script type="text/javascript">
        function displaySubMenu(li) {
            var subMenu = li.getElementsByTagName("ul")[0];
            subMenu.style.display = "block";
        }

        function hideSubMenu(li) {
            var subMenu = li.getElementsByTagName("ul")[0];
            subMenu.style.display = "none";
        }
    </script>
</head>

<body>
    <img src="../images/fantang.png" alt="" id="logo">
    <ul id="navigation">
        <li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
            <center><a href="#">你想看的</a></center>
            <ul>
                <li><a href="index.html">我的主页</a></li>
                <li><a href="1.html">第一轮测试</a></li>
                <li><a href="2.html">第二轮测试</a></li>
                <li><a href="3-1.html">第三轮测试</a></li>
                <li><a href="4.html">第四轮测试</a></li>
            </ul>
        </li>
    </ul>
    <div id=“container”>
    </div>
    <div id="container">
        <div id="content">
            <div id="begin">
                <h1>第三轮测试</h1>
                <h1>以下是上一轮的整体结果</h1>
                <div id="data1"></div>
                <div id="data2"></div>
                <div id="data3"></div><br><br>
                <p>请问您是否要修改上一轮的意见？<br></p>
                <div align="center" id="header">
                    <div id="anniu"><a href="1.html">是</a></div>
                </div>
                <div align="center" id="header">
                    <div id="anniu"><a href="3-2.html">否</a></div>
                </div>
            </div>
        </div>
    </div>
    <script>
        $.get("/app6Router", {}, function (data) {
            var ul = $("<ul></ul>");
            data = eval(data);
            for (var i = 0; i < data.length; i++) {
                var user = data[i];
                var li = "<li>" + "第" + (i + 1) + "个食堂的平均分为：" + user.q1ave + "</li>";
                ul.append(li);
            }
            //console.log(ul);
            $("#data1").append(ul);


        });
        $.get("/app7Router", {}, function (data) {
            var ul = $("<ul></ul>");
            data = eval(data);
            for (var i = 0; i < data.length; i++) {
                var user = data[i];
                var li = "<li>" + "第" + (i + 1) + "个食堂的评价等级为：" + user.c_level + "</li>";
                ul.append(li);
            }
            //console.log(ul);
            $("#data2").append(ul);


        });
        $.get("/app4Router", {}, function (data) {
            var ul = $("<ul></ul>");
            data = eval(data);
            for (var i = 0; i < data.length; i++) {
                var user = data[i];
                var li = "<li>" + "第" + (i + 1) + "个食堂的满分频度为：" + user.fullmark + "</li>";
                ul.append(li);
            }
            //console.log(ul);
            $("#data3").append(ul);

        });
    </script>
</body>

</html>